package com.qf.service.impl;

import com.qf.entity.GoodsSort;
import com.qf.mapper.GoodsSortMapper;
import com.qf.service.GoodsSortService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author ASUS
 * @version V1.0
 * @Project work
 * @Package com.qf.service.impl
 * @Date 2021/10/3 18:00
 */
@Service
public class GoodsSortServiceImpl implements GoodsSortService {

    @Autowired
    private GoodsSortMapper goodsSortMapper;

    @Override
    public List<GoodsSort> findAll() {
        return goodsSortMapper.selectByExample(null);
    }
}
